package com.king.designpatterns.设计模式对比.创造型模式对比.抽象工厂模式;

/**
 * 成年英雄工厂
 *
 * @author king
 * @date 2021-06-16 17:15
 */
public class AdultHeroFactory implements HeroFactory{
    @Override
    public ISuperMan createSuperMan() {
        return new AdultSuperMan();
    }

    @Override
    public ISpiderMan createSpiderMan() {
        return new AdultSpiderMan();
    }
}
